package com.springboot.demo.service;


import com.cx.item.common.service.BaseService;
import com.github.pagehelper.PageInfo;
import com.springboot.demo.model.example.GoodsExample;
import com.springboot.demo.model.model.Goods;
import com.springboot.demo.model.query.GoodsListQuery;
import com.springboot.demo.model.vo.GoodsDetailsVo;
import com.springboot.demo.model.vo.GoodsListVo;

import java.util.List;

public interface GoodsService extends BaseService<Goods, GoodsExample> {

    List<Goods> selectByExampleWithBLOBs(GoodsExample example);

    int updateByPrimaryKeyWithBLOBs(Goods record);

    GoodsDetailsVo getGoodsDetails(Integer goodsId);

    PageInfo<List<GoodsListVo>> getGoodsList(GoodsListQuery goodsListQuery);
}